#ifndef FRMPROGRESSBAR_H
#define FRMPROGRESSBAR_H

#include <QWidget>
#include <QProgressBar>
#include <QLabel>
#include "projectmanager/projectmanager.h"

class CFrmProgressBar : public QWidget,public EarthView::World::Spatial::Utility::CProjectManager::IProjectManagerListener
{
	Q_OBJECT

public:
	CFrmProgressBar(QWidget *parent);
	~CFrmProgressBar();

	virtual void onProjectFilePreLoaded();
	virtual void onProjectFileLoaded();
	//virtual ev_bool isProjectFileCanLoad();
	virtual void onProjectLoadingProcessChanged(const EVString& tips,ev_uint8 percent);
private:
	virtual void paintEvent(QPaintEvent * ev);
	QProgressBar *mPro;
	QLabel *mLab;
};

#endif // FRMPROGRESSBAR_H
